<template>
  <div class="a">
    <p>预警历史</p>

    <div class="yjls">
      <div>
        <span>时间区间</span>
        <el-date-picker
          v-model="value1"
          type="datetimerange"
          range-separator="至"
          start-placeholder="开始日期"
          end-placeholder="结束日期"
        >
        </el-date-picker>
      </div>
      <div class="btn">
        <el-button type="small">查询</el-button>
        <el-button type="small">预警删除</el-button>
      </div>
    </div>

    <div class="yjlb">
      <p>预警列表</p>
      <el-table :data="tableData" style="width: 100%">
        <el-table-column prop="date" label="预警编号"> </el-table-column>
        <el-table-column prop="name" label="预警时间"> </el-table-column>
        <el-table-column prop="address" label="黄色位置"> </el-table-column>
        <el-table-column prop="address" label="橙色位置"> </el-table-column>
        <el-table-column prop="address" label="红色位置"> </el-table-column>
      </el-table>
      <el-button type="small" style="margin-top: 10px">预警文档</el-button>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
};
</script>
<style scoped lang="less">
.a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  justify-content: center;
  p {
    margin: 10px;
  }
  .yjls {
    display: flex;
    flex-direction: column;
    align-items: center;
    span {
      margin-right: 10px;
    }
    .el-date-editor {
      width: 200px;
    }
    .btn {
      margin: 10px;
    }
  }
  .yjlb {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
</style>
